package rules.bookinfo;

import isbnvalidation.ISBNValidator;
import rules.Rule;
import books.BookInfo;

/**
 */
public class BookInfoIsbnRule implements Rule<BookInfo> {

    @Override
    public void validate(final BookInfo info) {
        ISBNValidator.getInstance().validatesISBN(info.getIsbn());
    }

}
